package com.cxf.cxfcommon.dtobase;



public enum Common implements IMessage{

    SUCCESS("COM_000000","交易成功"),
    UNKNOWN_ERROR("COM_000001","交易异常")
    ;

    private String code;
    private String message;


    private Common( String code,String message){
        this.code = code;
        this.message = message;
    }


    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return null;
    }

    @Override
    public String getSysCode() {
        return "sys";
    }

}
